package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.UserIdFavors;
import java.util.List;

public interface IUserIdFavorsService{
        void insert(UserIdFavors userIdFavors);

        void delete(String id);

        void update(UserIdFavors userIdFavors);

        UserIdFavors findById(String id);

        List<UserIdFavors> findAll();

        /**
         * 根据usid找对象
         * @param uid
         * @return
         */
    UserIdFavors findByUsid(String uid);

}